import '../utils/tools.dart';

class DetailArguments {
  int id = 0;
  dynamic temp;

  DetailArguments({this.id,this.temp});

  DetailArguments.fromObject(Map<String, dynamic> object){
    if(object == null)return;
    this.id = Tools.parseInt(object['id']);
    if(object.containsKey('data')){
      this.temp = object['data'];
    }
  }
}